package com.hamster.crm.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hamster.crm.pojo.MaterielConfig;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Update;
import org.springframework.stereotype.Repository;

/**
 * 物料类型 配置  mapper
 * @author Tarry
 * @create 2019/12/24 10:10
 */
@Repository
@Mapper
public interface MaterielConfigMapper extends BaseMapper<MaterielConfig> {

    /**
     * 标记删除
     */
    @Update("update materiel_config set del = 1 where id = #{id}")
    void deleteTag(String id);

}
